package com.aaa.zs.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @fileName.UserService
 * @description:
 * @author:zwl
 * @createTime:2020/11/13 15:50
 * @version:1.0.0
 */
@FeignClient("ssoServer")
public interface UserService {
    /**
     * 调用远程sso_server，校验token方法
     *
     * @param accessToken
     * @return
     */
    @GetMapping("/ulactController/checkToken")
    boolean checkToken(@RequestParam("accessToken") String accessToken);
}
